"snapcraft list-keys" fails on macOS 15.1.1 (24B91)
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
snapcraft installed on macOS 15.1.1 using brew. Authenticated to my account with snapcraft login:
snapcraft list-keys
error: readlink /proc/self/fd/0: no such file or directory
Sorry, an error occurred in Snapcraft:
Command '[PosixPath('/opt/homebrew/bin/snap'), 'keys', '--json']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/opt/homebrew/Cellar/snapcraft/8.4.4/libexec/lib/python3.13/site-packages/snapcraft_legacy/cli/legacy.py", line 27, in legacy_run
run()
~~~^^
File "/opt/homebrew/Cellar/snapcraft/8.4.4/libexec/lib/python3.13/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/snapcraft/8.4.4/libexec/lib/python3.13/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/opt/homebrew/Cellar/snapcraft/8.4.4/libexec/lib/python3.13/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "/opt/homebrew/Cellar/snapcraft/8.4.4/libexec/lib/python3.13/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/snapcraft/8.4.4/libexec/lib/python3.13/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/opt/homebrew/Cellar/snapcraft/8.4.4/libexec/lib/python3.13/site-packages/snapcraft_legacy/cli/assertions.py", line 39, in list_keys
snapcraft_legacy.list_keys()
~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/opt/homebrew/Cellar/snapcraft/8.4.4/libexec/lib/python3.13/site-packages/snapcraft_legacy/_store.py", line 413, in list_keys
keys = list(_get_usable_keys())
File "/opt/homebrew/Cellar/snapcraft/8.4.4/libexec/lib/python3.13/site-packages/snapcraft_legacy/_store.py", line 374, in _get_usable_keys
subprocess.check_output([snap_path, "keys", "--json"], universal_newlines=True)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.13/3.13.0_1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/subprocess.py", line 472, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
**kwargs).stdout
^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.13/3.13.0_1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '[PosixPath('/opt/homebrew/bin/snap'), 'keys', '--json']' returned non-zero exit status 1.
Evaluation history
No evaluation history available.